package patterns.structures.adapter.net.objadpt;

import patterns.structures.adapter.net.clsadpt.TextShape2;

 

public class Text {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println("----------------------------");
		Shape shape=new TextShape(new TextView());
		Point bl=shape.getBlPoint();
		Point tr=shape.getTRPoint();
		System.out.println("bl:"+bl);
		System.out.println("tr:"+tr);
		
		System.out.println("----------------------------");
		shape=new TextShape2();
		bl=shape.getBlPoint();
		tr=shape.getTRPoint();
		System.out.println("bl:"+bl);
		System.out.println("tr:"+tr);
		
	}

}
